<template>
    <section class='home_card'>
        <section class='home_card_header'>
           小编推荐
        </section>
        <section class='home_card_body'>
          
            <section class="each">
                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3971611288,2913891684&fm=27&gp=0.jpg" alt="">
                <p class="each_title">妃比寻常:我是祸水我怕谁</p>
            </section>
            
            <section class="each">
                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3971611288,2913891684&fm=27&gp=0.jpg" alt="">
                <p class="each_title">妃比寻常:我是祸水我怕谁</p>
            </section>

            <section class="each">
                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3971611288,2913891684&fm=27&gp=0.jpg" alt="">
                <p class="each_title">妃比寻常:我是祸水我怕谁</p>
            </section>

            <section class="each">
                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3971611288,2913891684&fm=27&gp=0.jpg" alt="">
                <p class="each_title">妃比寻常:我是祸水我怕谁</p>
            </section>

            <section class="each">
                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3971611288,2913891684&fm=27&gp=0.jpg" alt="">
                <p class="each_title">妃比寻常:我是祸水我怕谁</p>
            </section>

            <section class="each">
                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3971611288,2913891684&fm=27&gp=0.jpg" alt="">
                <p class="each_title">妃比寻常:我是祸水我怕谁</p>
            </section>

            <section class="each">
                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3971611288,2913891684&fm=27&gp=0.jpg" alt="">
                <p class="each_title">妃比寻常:我是祸水我怕谁</p>
            </section>

            <section class="each">
                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3971611288,2913891684&fm=27&gp=0.jpg" alt="">
                <p class="each_title">妃比寻常:我是祸水我怕谁</p>
            </section>
            

        </section>
    </section>
</template>

<script>
import { mapState } from "vuex";
export default {
  data() {
    return {};
  },
  created() {},
  mounted() {},
  computed: {},
  methods: {}
};
</script>

<style lang="scss" scoped>
@import "../../style/mixin";

.home_card {
  width: 100%;
  height: auto;
  background-color: white;
  @include sc(0.5rem, #fff);
  .home_card_header {
    @include wh(100%, 1.4rem);
    line-height: 1.4rem;
    margin-left: 0.4rem;
  }
  .home_card_body {
    @include wh(100%, auto);
    border-top: 0.025rem solid $bc;
    display: flex;
    padding: 5px;

    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;

    .each {
      height: 6rem;
      width: 24%;
      margin-top: 5px;
      position: relative;

      img {
        @include wh(100%, 5.2rem);
        border: 1px #f7f7f7 solid;
      }

      .each_title {
        @include wh(100%, 0.6rem);
        color: white;
        @include sc(0.3rem, #555);
        // background-color: red;
        padding: 0px 2px;
        line-height: 0.4rem;
        position: absolute;
        bottom: 0;
      }
    }
  }
}
</style>
